import * as React from 'react';
import {
  Input,
  Descriptions,
  TimePicker,
  Checkbox,
  Row,
  Col,
  Upload,
  Button,
  Table,
  DatePicker,
} from 'antd';
import { Link } from 'umi';
import { UploadOutlined } from '@ant-design/icons';
// import axios from 'axios';
const { RangePicker } = DatePicker;
export default () => {
  const data = [
    {
      key: '1',
      className: '张xx',
      FallInLove: '提交申请',
      name: '2020-10-11 9:00:00',
      kind: '无',
    },
  ];

  const { TextArea } = Input;

  return (
    <>
      <div className="absence_title" style={{ marginBottom: '30px' }}>
        <Descriptions title="审核">
          <Descriptions.Item label="姓名">张三</Descriptions.Item>
          <Descriptions.Item label="性别">女</Descriptions.Item>
          <Descriptions.Item label="学号">189000402</Descriptions.Item>
          <Descriptions.Item label="院系">软件学院</Descriptions.Item>
          <Descriptions.Item label="实训课程">学生考勤系统</Descriptions.Item>
          <Descriptions.Item label="专业">计算机科学与技术</Descriptions.Item>
          <Descriptions.Item label="实训老师">张三</Descriptions.Item>
          <Descriptions.Item label="责任老师">刘老师</Descriptions.Item>
          <Descriptions.Item label="项目组">考勤管理实训组</Descriptions.Item>
          <Descriptions.Item label="小组长">夏兵</Descriptions.Item>
          <Descriptions.Item label="项目角色">组员</Descriptions.Item>
          <Descriptions.Item label="综合打分">
            <Input></Input>
          </Descriptions.Item>
          <Descriptions.Item label="评语：">
            <Input></Input>
          </Descriptions.Item>
        </Descriptions>
        <Button type="primary">保存</Button>
      </div>

      <Table
        style={{ width: '1500px' }}
        columns={[
          {
            title: '作业主题',
            dataIndex: 'className',
          },
          {
            title: '下发老师',
            dataIndex: 'FallInLove',
          },
          {
            title: '下发时间',
            dataIndex: 'name',
          },
          {
            title: '提交时间',
            dataIndex: 'kind',
          },
          {
            title: '实际提交时间',
            dataIndex: 'kind',
          },
          {
            title: '提交情况',
            dataIndex: 'kind',
          },
          {
            title: '作业得分',
            dataIndex: 'kind',
          },
          {
            title: '操作',
            dataIndex: 'kind',
          },
        ]}
        dataSource={data}
        size="middle"
      />
      <p>
        <Button>
          <Link to="../mark/personalRating">返回</Link>
        </Button>
      </p>
    </>
  );
};
